@extends('default.layouts.vice_head_foot')
@section('title')个人会员找回密码-{{ Site::get('webname') }} @endsection
@section('insert_css')
{{--添加样式表--}}
<link rel="stylesheet" href="{{asset('/default/css/index/vice_public.css')}}">
<link rel="stylesheet" href="{{asset('/default/css/index/web_content.css')}}">
@endsection
@section('content')
    {{--副页菜单模版--}}
     @include('default.layouts.index_web_content_mune')
    {{--内容区显示区--}}
    <div class="vicecontent">
        {{--阴影线--}}
        <div class="shadow_line"></div>
        <div class="content">
            {{--显示区--}}
            <div class="showContent">
                <div class="title"><h3>个人会员找回密码</h3></div>
                <div class="findPassword">
                    <div class="step3"></div>
                    @if(!empty($personalPasswordResets->uid))
                        <div class="form">

                            @if(count($errors)>0)
                                @if(is_object($errors))
                                    @foreach($errors->all() as $error)
                                        <p id="globalError">{{$error}}</p>
                                    @endforeach
                                @else
                                    <p id="globalError">{{$error}}</p>
                                @endif
                            @endif
                            <form action="{{url('personal/find_password3')}}" name="setpassword" id="setpassword" method="post">
                                {{csrf_field()}}
                                <input name="token" value="{{$token or ''}}" type="hidden">
                                <dl>
                                    <dt><input name="reset" id="reset" value="" type="password" class="inpText" placeholder="请输入新密码" tip="请输入新密码"></dt>
                                    <dd class="errinfo"></dd>
                                </dl>
                                <dl>
                                    <dt><input name="reset_password" id="reset_password" value="" type="password" class="inpText" placeholder="请再次输入新密码" tip="请再次输入新密码"></dt>
                                    <dd class="errinfo"></dd>
                                </dl>
                                <dl>
                                    <dt><input id="sub" value="重置密码" type="submit" class="sub"></dt>
                                </dl>
                            </form>
                        </div>
                    @else
                        <div class="tipInfo">
                            <p class="importantTip">链接已失效!</p>
                            <p class="nav"><a href="{{url('personal/find_password')}}">重新找回密码</a></p>
                        </div>
                    @endif
                </div>
            </div>
        </div> {{--end 内容显示--}}
    </div>
    <div class="viceButtom"></div>
@endsection
@section('insert_js')
    @parent
    <script type="text/javascript" src="{{asset('/default/js/personal/find_password3.js')}}"></script>
@endsection